package com.myh.springcluod.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/*
**2020年7月16日--下午6:31:34
**@version:
**莫耀华:
**@Description:
*/
@RestController
public class ControllerTest {
	@Value("${server.port}")
	private String port;
	@GetMapping("/h")
	public String get() { 
		return port;
	}
	
}
